#include "SeqList.h"

void test1() {
    SeqList* list = SeqListInit();

    SeqListPushBack(list, 1);
    SeqListPushBack(list, 2);
    SeqListPushBack(list, 3);

    SeqListPushFront(list, 4);
    SeqListPushFront(list, 5);
    SeqListPushFront(list, 6);
    SeqListPushFront(list, 7);
    SeqListPushFront(list, 8);
    SeqListPushFront(list, 9);
    SeqListPushFront(list, 10);
    SeqListPushFront(list, 11);

    SeqListPrint(list);
    SeqListPopBack(list);
    SeqListPrint(list);

    SeqListPopFront(list);
    SeqListPopFront(list);
    SeqListPrint(list);

    SeqListFind(list, 3);
    SeqListFind(list, 6);

    SeqListInsert(list, 3, 12);
    SeqListPrint(list);

    SeqListErase(list, 3);
    SeqListPrint(list);
}

int main() {
    test1();
    return 0;
}